import React, { PureComponent } from 'react';
// import { connect } from 'dva';
import { formatMessage, FormattedMessage } from 'umi/locale';
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
import EvaluateSecondNav from '@/components/EvaluateSecondNav/EvaluateSecondNav';
import styles from './style.less';

// @connect(({ loading }) => ({
//   submitting: loading.effects['form/submitRegularForm'],
// }))
class MarketFluctuation extends PureComponent {
  render() {
    // const { submitting } = this.props;

    return (
      <div className="evaluate-wrapper">
        <EvaluateSecondNav />
        <div className={styles.MarketFluctuation}>
          <iframe
            src="https://stockdata.cfbond.com/market_webapp/market/stockTrend.do?en_prod_code=000002.SZ"
            frameBorder="0"
            style={{ width: '100%', minHeight: '1000px' }}
          />
        </div>
      </div>

      // <PageHeaderWrapper
      //   title={<FormattedMessage id="app.forms.basic.title" />}
      //   content={<FormattedMessage id="app.forms.basic.description" />}
      // >

      // </PageHeaderWrapper>
    );
  }
}

export default MarketFluctuation;
